#pragma once

#include <QDialog>
#include "ui_MultiEqualization.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MultiEqualizationClass; };
QT_END_NAMESPACE

class MultiEqualization : public QDialog
{
	Q_OBJECT

public:
	MultiEqualization(QWidget *parent = nullptr);
	~MultiEqualization();
signals:
	void EqArgs(unsigned int count, unsigned int freq, int gain);

private:
	Ui::MultiEqualizationClass *ui;

	void ConnectSlots();
	void onSliderLessThan31Moved(int pos);
	void onSlider63Moved(int pos);
	void onSlider125Moved(int pos);
	void onSlider250Moved(int pos);
	void onSlider500Moved(int pos);
	void onSlider1kMoved(int pos);
	void onSlider2kMoved(int pos);
	void onSlider4kMoved(int pos);
	void onSlider8kMoved(int pos);
	void onSliderBiggerThan16kMoved(int pos);

	void onSbLessThan31ValueChanged(int value);
	void onSb63ValueChanged(int value);
	void onSb125ValueChanged(int value);
	void onSb250ValueChanged(int value);
	void onSb500ValueChanged(int value);
	void onSb1kValueChanged(int value);
	void onSb2kValueChanged(int value);
	void onSb4kValueChanged(int value);
	void onSb8kValueChanged(int value);
	void onSbBiggerThan16kValueChanged(int value);

	void onSbGianRangeChanged(int value);

};
